<?php

/**
 * Laravel-admin - admin builder based on Laravel.
 * @author z-song <https://github.com/z-song>
 *
 * Bootstraper for Admin.
 *
 * Here you can remove builtin form field:
 * Encore\Admin\Form::forget(['map', 'editor']);
 *
 * Or extend custom form field:
 * Encore\Admin\Form::extend('php', PHPEditor::class);
 *
 * Or require js and css assets:
 * Admin::css('/packages/prettydocs/css/styles.css');
 * Admin::js('/packages/prettydocs/js/main.js');
 *
 */

use Encore\Admin\Facades\Admin;

// 加载 Nestable jQuery 插件
// Admin::js('/vendor/laravel-admin/nestable/jquery.nestable.js');

Admin::menu(function ($menu) {
    // 添加其他菜单项...
    
    $menu->add([
       'title' => 'SPA 示例',
       'uri'   => 'admin/spa',
        'icon' => 'fa-file-text', // Font Awesome 图标
    ]);
});

